// import com.alibaba.druid.sql.ast.SQLObjectImpl;
// import com.alibaba.druid.sql.dialect.mysql.ast.MySqlObject;
// import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlExtPartition;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;
#pragma once
#include "../SQLObjectImpl.h"
#include "../../dialect/mysql/ast/MySqlObject.h"
#include "SQLAlterTableItem.h"

class SQLAlterTableAddExtPartition : virtual public SQLObjectImpl ,virtual public SQLAlterTableItem, virtual public MySqlObject
{
public:
  MySqlExtPartition_ptr extPartition;

  SHAREDOBJECT(SQLAlterTableAddExtPartition);
  // @Override
  void accept0(MySqlASTVisitor_ptr visitor);

  // @Override
  void accept0(SQLASTVisitor_ptr visitor);

  void setExPartition(MySqlExtPartition_ptr x);

  MySqlExtPartition_ptr getExtPartition();
};
